package com.zhoujing.cinema.entity;

/**
 * @author ：ywj
 * @date ：Created in 2020/3/25 17:03
 * @description：
 * @modified By：
 * @version: $
 */
public class Order {
    private Integer id;
    private Integer user_id;
    private Integer session_id;
    private double total_price;
    private String seat;
    private String code;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getSession_id() {
        return session_id;
    }

    public void setSession_id(Integer session_id) {
        this.session_id = session_id;
    }

    public double getTotal_price() {
        return total_price;
    }

    public void setTotal_price(double total_price) {
        this.total_price = total_price;
    }

    public String getSeat() {
        return seat;
    }

    public void setSeat(String seat) {
        this.seat = seat;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", session_id=" + session_id +
                ", total_price=" + total_price +
                ", seat='" + seat + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
